package com.example.his.api.db.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.his.api.db.pojo.AppointmentEntity;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

public interface AppointmentDao extends BaseMapper<AppointmentEntity> {
    public ArrayList<HashMap> searchByOrderId(int orderId);

    public int myInsert(AppointmentEntity entity);

    public ArrayList<HashMap> searchFrontAppointmentByPage(Map param);

    public ArrayList<HashMap> searchByPage(Map param);
    public long searchCount(Map param);

    public HashMap hasAppointInToday(Map param);

    public int checkin(Map param);
    public HashMap searchUuidAndSnapshotId(Map param);
    public HashMap searchSummaryById(int id);
    public int updateStatusByUuid(Map param);
    public HashMap searchByUuid(String uuid);
    public HashMap searchDataForReport(int id);

}




